home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / RIncludes / DatabaseAccess.r < prev    next >
Encoding:
Text File  |  2000-04-12  |  1.5 KB  |  68 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        DatabaseAccess.r
  3.  
  4.      Contains:    Database Access Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    © 1989-1999, 1995-1997, 1999 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __DATABASEACCESS_R__
  19. #define __DATABASEACCESS_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25.  
  26. /* types for the Database Access Manager */
  27.  
  28. /* 'wstr' - Word Length String Resource */
  29. type 'wstr' {
  30.         wstring;                                                /* string with word length spec. */
  31. };
  32.  
  33. /* 'qrsc' - Query Resource */
  34. type 'qrsc' {
  35.         integer;                                                /* version */
  36.  
  37.         integer;                                                /* 'qdef' ID */
  38.  
  39.         integer;                                                /* STR# ID for ddevName, host,
  40.                                                                        user, password, connstr */
  41.  
  42.         integer;                                                /* current query */
  43.  
  44.         /* array of IDs of 'wstr' resources containing queries */
  45.         integer = $$CountOf(QueryArray);                        /* array size */
  46.         wide array QueryArray {
  47.             integer;                                            /* id of 'wstr' resource */
  48.         };
  49.  
  50.         /* array of types and IDs for other resources for query */
  51.         integer = $$CountOf(ResArray);                            /* array size */
  52.         wide array ResArray {
  53.             literal longint;                                    /* resource type */
  54.             integer;                                            /* resource ID */
  55.         };
  56. };
  57.  
  58. /* 'dflg' - ddev Flags */
  59. type 'dflg' {
  60.         longint;                                                /* version */
  61.  
  62.         unsigned bitstring[32]                                    /* ddev flags */
  63.             asyncNotSupp, asyncSupp;
  64. };
  65.  
  66. #endif /* __DATABASEACCESS_R__ */
  67.  
  68.